from django.contrib.auth.models import User
from django.db import models

class Note(models.Model):
    title = models.CharField(max_length=30)
    text = models.CharField(max_length=1000)
    user = models.ForeignKey(User)
